package org.example.service;

import org.example.service.impl.UserServiceImpl;
import org.example.vo.Users;

import java.util.List;

public interface UserService {
    public static UserService getInstance(){
        return  new UserServiceImpl();
    }

    public Users userLogin(Users users);

    List<Users> queryUserList(String username);

    int insertUser(Users users);

    int deleteUser(String id);

    Users queryUserById(String id);
}
